<li class=" <?php
  if ( $menu == '' )
  {
      echo 'active' ;
  }
  
  ?>">
  <a href="<?php
    echo base_url()
    
    ?>dashboard">
  <i class="fa fa-dashboard"></i> <span>Dashboard</span>
  </a>
</li>
<li  class="treeview <?php
  if ( $menu == 'user' )
  {
      echo 'active' ;
  }
  
  ?> ">
  <a href="#">
  <i class="glyphicon glyphicon-user"></i>
  <span>Manajemen Pengguna</span>
  <i class="fa fa-angle-left pull-right"></i>
  </a>
  <ul class="treeview-menu">
    <li class="<?php
      if ( $sub_menu == 'tambah_user' )
      {
          echo 'active' ;
      }
      
      ?>"><a href="<?php
      echo base_url()
      
      ?>user/tambah_user"><i class="fa fa-plus"></i>Tambah Pengguna</a></li>
    <li class="<?php
      if ( $sub_menu == 'daftar_user' )
      {
          echo 'active' ;
      }
      
      ?>" ><a href="<?php
      echo base_url()
      
      ?>user/daftar_user"><i class="fa fa-list"></i> Daftar Pengguna</a></li>
  </ul>
</li>
<li class="treeview <?php
  if ( $menu == 'wilayah' )
  {
      echo 'active' ;
  }
  
  ?> " >
  <a href="#">
  <i class="glyphicon glyphicon-globe"></i>
  <span>Manajemen Wilayah</span>
  <i class="fa fa-angle-left pull-right"></i>
  </a>
  <ul class="treeview-menu">
    <li class="<?php
      if ( $sub_menu == 'tambah_negara' )
      {
          echo 'active' ;
      }
      
      ?> " ><a href="<?php
      echo base_url()
      
      ?>negara/tambah_negara"><i class="fa fa-plus"></i> Tambah Negara</a></li>
    <li class="<?php
      if ( $sub_menu == 'daftar_negara' )
      {
          echo 'active' ;
      }
      
      ?> "><a href="<?php
      echo base_url()
      
      ?>negara/daftar_negara"><i class="fa fa-list"></i> Daftar Negara</a></li>
    <li class="<?php
      if ( $sub_menu == 'tambah_wilayah' )
      {
          echo 'active' ;
      }
      
      ?> " ><a href="<?php
      echo base_url()
      
      ?>wilayah/tambah_wilayah" ><i class="fa fa-plus"></i> Tambah Wilayah</a></li>
    <li class="<?php
      if ( $sub_menu == 'daftar_wilayah' )
      {
          echo 'active' ;
      }
      
      ?> " ><a href="<?php
      echo base_url()
      
      ?>wilayah/daftar_wilayah" ><i class="fa fa-list"></i> Daftar Wilayah</a></li>
  </ul>
</li>
<li class="treeview <?php
  if ( $menu == 'inang' )
  {
      echo 'active' ;
  }
  
  ?>">
  <a href="#">
  <i class="glyphicon glyphicon-plane"></i> <span>Manajemen Inang</span>
  <i class="fa fa-angle-left pull-right"></i>
  </a>
  <ul class="treeview-menu">
    <li class="<?php
      if ( $sub_menu == 'tambah_inang' )
      {
          echo 'active' ;
      }
      
      ?> "><a href="<?php
      echo base_url()
      
      ?>inang/tambah_inang"><i class="fa fa-plus"></i> Tambah Inang</a></li>
    <li class="<?php
      if ( $sub_menu == 'daftar_inang' )
      {
          echo 'active' ;
      }
      
      ?>"><a  href="<?php
      echo base_url()
      
      ?>inang/daftar_inang"><i class="fa fa-list"></i> Daftar Inang</a></li>
  </ul>
</li>
<li class="treeview <?php
  if ( $menu == 'organisme' )
  {
      echo 'active' ;
  }
  
  ?> ">
  <a href="#">
  <i class="glyphicon glyphicon-warning-sign"></i> <span>Organisme Penyakit</span>
  <i class="fa fa-angle-left pull-right"></i>
  </a>
  <ul class="treeview-menu">
    <li class="<?php
      if ( $sub_menu == 'tambah_organisme' )
      {
          echo 'active' ;
      }
      
      ?> " ><a href="<?php
      echo base_url()
      
      ?>organisme/tambah_organisme"><i class="fa fa-plus"></i>Tambah Organisme</a></li>
    <li class="<?php
      if ( $sub_menu == 'daftar_organisme' )
      {
          echo 'active' ;
      }
      
      ?> " ><a href="<?php
      echo base_url()
      
      ?>organisme/daftar_organisme"><i class="fa fa-list"></i> Daftar Organisme</a></li>
  </ul>
</li>
<li class="treeview <?php
  if ( $menu == 'pengujian' )
  {
      echo 'active' ;
  }
  
  ?> ">
  <a href="#">
  <i class="glyphicon glyphicon-search"></i> <span>Metode Pengujian</span>
  <i class="fa fa-angle-left pull-right"></i>
  </a>
  <ul class="treeview-menu">
    <li class="<?php
      if ( $sub_menu == 'tambah_pengujian' )
      {
          echo 'active' ;
      }
      
      ?> " ><a href="<?php
      echo base_url()
      
      ?>pengujian/tambah_pengujian"><i class="fa fa-plus"></i>Tambah pengujian </a></li>
    <li class="<?php
      if ( $sub_menu == 'daftar_pengujian' )
      {
          echo 'active' ;
      }
      
      ?> " ><a href="<?php
      echo base_url()
      
      ?>pengujian/daftar_pengujian"><i class="fa fa-list"></i> Daftar Pengujian</a></li>
  </ul>
</li>



 
  
   
  
  
    
  
</li>